package com.example.hotelsystem.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lee
 * @since 2021-03-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="RoomTypeImage对象", description="")
public class RoomTypeImage implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "房间类型图片id")
    @TableId(value = "image_id", type = IdType.AUTO)
    private Long imageId;

    @ApiModelProperty(value = "房间类型id")
    private Long roomTypeId;

    @ApiModelProperty(value = "图片类型")
    private Long type;

    @ApiModelProperty(value = "图片url")
    private String image;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @TableLogic
    @ApiModelProperty(value = "逻辑删除")
    private Integer deleted;


}
